/**
 * 
 * Copyright (C) 2015 by Elcom Software Company
 *
 * @id: UserLikes.java, May 8, 2015
 *
 */
package com.nip.fblike.objects;


/**
 * @author ThangNM<thangnm@elcom.com.vn>
 *
 * @version v
 */
public class UserLikes{

    private String id;
    private String name;
    /**
     * @return the id
     */
    public String getId() {
        return id;
    }
    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }
    /**
     * @return the name
     */
    public String getName() {
        return name;
    }
    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    
    /* (non-Javadoc)
     * @see java.lang.Object#equals(java.lang.Object)
     */
    @Override
    public boolean equals(Object obj) {
        // TODO Auto-generated method stub
        return this.getId() == ((UserLikes)obj).getId();
    }
    
    /* (non-Javadoc)
     * @see java.lang.Object#hashCode()
     */
    @Override
    public int hashCode() {
        // TODO Auto-generated method stub
        return 1;
    }
    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "UserLikes [id=" + id + ", name=" + name + "]";
    }
    
}
